package com.wn.class30.service;

import com.wn.class30.entity.UserAddress;

import java.util.List;

public interface UserAddressService1 {
    public List<UserAddress> queryAddressByUserid(Integer userid) throws Exception;

    public void updateDefaultAddressByUserId(Integer userid, Integer addressid) throws Exception;
    public UserAddress queryAddressByAddressid(Integer id) throws Exception;
    public void insertAddress(UserAddress userAddress) throws Exception;
    public void updateAddress(UserAddress userAddress) throws Exception;


}
